package com.rainbow.micro.example.entity;
import com.rainbow.support.mybatis.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
* 
* @author rainbow
* 邮箱  1335157415@qq.com
* @date 2022-04-30 15:13:50
*/
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("role")
@ApiModel(value = "实体类")
public class RoleEntity extends BaseEntity {

	/**
	* 
	*/
	@ApiModelProperty(value = "",required = true,position=0)
	private Integer id;
	/**
	* 角色id
	*/
	@ApiModelProperty(value = "角色id",position=1)
	private String roleId;
	/**
	* 角色名称
	*/
	@ApiModelProperty(value = "角色名称",position=2)
	private String name;
	/**
	* 角色描述
	*/
	@ApiModelProperty(value = "角色描述",position=3)
	private String description;
	/**
	* 状态：1有效；0删除
	*/
	@ApiModelProperty(value = "状态：1有效；0删除",position=4)
	private Integer status;
}
